Package-level declarations
Types
Cluster of similar entities
Generic retrieved entity
Entity mapped with JPA, Neo OGM or another persistence tool. Will be a JVM object. What it exposes beyond RetrievableEntity methods is a matter for the RagService in the application. MappedEntity objects have their own distinct types and can expose
Adds a name to the well known entity data.
Rag service that supports navigation in a graph of retrievable objects. This may not be supported by all RAG services. It need not be a graph but could be implemented by a relational database or other structure.
RAG request. Contains a query and parameters for similarity search.
Response to a RAG request. Embabel RagResponses can contain results from multiple RAG services. Results are not necessarily chunks, but can be entities.
Implemented by classes that can format RagResponse objects into a string for inclusion in tool responses or prompts.
Central interface for Retrieval-Augmented Generation (RAG) services. Returns entities as well as text chunks.
RagService comparable to a Spring Data repository.
A Retrievable object instance is a chunk or an entity It has a stable id.
Any retrievable entity, whether mapped or generic.
Sensible default RagResponseFormatter
A Source object instance is an input such as a Chunk or a Fact.